home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / clipper / rfntlb10.zip / RFNTLIB.CH < prev    next >
Text File  |  1994-01-02  |  3KB  |  97 lines

  1. /***
  2. *    RFntLib.ch
  3. *
  4. *    Header file for the Clipper Library RFntLib v1.0
  5. *
  6. *    Copyright (c) 1994  Rolf van Gelder, All rights reserved
  7. *
  8. *    Date: 02/01/94
  9. */
  10.  
  11. *==========================================================================
  12. * Return codes for RFntLib functions
  13. *==========================================================================
  14.  
  15. #define    FL_OKAY            0    && No errors detected
  16. #define    FL_INVALID_PARMS    1    && Invalid parameter(s) passed
  17. #define    FL_ALLOCATE_MEMORY    2    && Not enough memory
  18. #define    FL_ERROR_OPENING    3    && Error opening font file
  19. #define    FL_ERROR_READING    4    && Error reading font file
  20.  
  21. *==========================================================================
  22. * Array with pre-defined error messages
  23. *==========================================================================
  24.  
  25. #define    FL_ERRMSG    { 'Invalid parameter(s) passed', ;
  26.               'Not enough memory', ;
  27.               'Error OPENING font file',;
  28.                           'Error READING font file' }
  29.  
  30.  
  31. *==========================================================================
  32. * Constants
  33. *==========================================================================
  34.  
  35. #define    FL_EGAFONTSIZE        3584    && Size of an EGA font file
  36. #define    FL_VGAFONTSIZE        4096    && Size of a  VGA font file
  37.  
  38. #define    FL_EGALINES        14    && Number of scanlines EGA font
  39. #define    FL_VGALINES        16    && Number of scanlines VGA font
  40.  
  41.  
  42. *==========================================================================
  43. * Icons/Symbols in the RSymbol1 and RSymbol2 Fonts (EGA & VGA)
  44. *==========================================================================
  45.  
  46. *-- Left & Right Arrows
  47. #define    FL_LeftArr1    '╡'        && Chr (181)
  48. #define    FL_RightArr1    '╢'        && Chr (182)
  49.  
  50. *-- Floppy disk drive icon
  51. #define    FL_DiskDrv    '╞╟'        && Chr (198) + Chr (199)
  52.  
  53. *-- Document/File Icon
  54. #define    FL_Document    '╩╦'        && Chr (202) + Chr (203)
  55.  
  56. *-- Directory Icon
  57. #define    FL_Directory    '╧╨'        && Chr (207) + Chr (208)
  58.  
  59. *-- Executable File Icon
  60. #define    FL_EXE        '╤╥'        && Chr (109) + Chr (210)
  61.  
  62. *-- Floppy Disk Icon
  63. #define    FL_Floppy    '╙╘'        && Chr (211) + Chr (212)
  64.  
  65. *-- Big Left & Right Arrows
  66. #define    FL_BigLeftArr    '╒╓'        && Chr (213) + Chr (214)
  67. #define    FL_BigRightArr    '╫╪'        && Chr (215) + Chr (216)
  68.  
  69. *-- Copywrite Sign
  70. #define    FL_Copywrite    'α'        && Chr (224)
  71.  
  72. *-- Return Key Symbol
  73. #define    FL_Return    'ß'        && Chr (225)
  74.  
  75. *-- Telephone Symbol
  76. #define    FL_Phone        'Γ'        && Chr (226)
  77.  
  78. *-- Function Keys
  79. #define    FL_F1        'π'        && Chr (227)
  80. #define    FL_F2        'Σ'        && Chr (228)
  81. #define    FL_F3        'σ'        && Chr (229)
  82. #define    FL_F4        'µ'        && Chr (230)
  83. #define    FL_F5        'τ'        && Chr (231)
  84. #define    FL_F6        'Φ'        && Chr (232)
  85. #define    FL_F7        'Θ'        && Chr (233)
  86. #define    FL_F8        'Ω'        && Chr (234)
  87. #define    FL_F9        'δ'        && Chr (235)
  88. #define    FL_F10        '∞'        && Chr (236)
  89.  
  90. *-- Hourglass
  91. #define    FL_Hourglass    'φ'        && Chr ( 237 )
  92.  
  93. *-- Left & Right Arrows
  94. #define    FL_LeftArr2    'ε'        && Chr ( 238 )
  95. #define    FL_RightArr2    '∩'        && Chr ( 239 )
  96. *
  97. * Eof RFntLib.CH